You can link or embed a view of a drawing in
another application that supports OLE.
Link Views to Other Documents
A drawing can be a source document linked
to one or more documents in other applications. The COPYLINK command copies
the view in the current viewport to the Clipboard. You can then
paste the view into the destination document.
If you paste an unnamed view into a document,
it is assigned a view name such as OLE1. If you then exit the drawing,
you are prompted to save your changes to the newly named view. To
establish the link and to save the view name, OLE1, you must save
the drawing.
Embed Drawing Objects in
Other Documents
You can select objects and embed them in documents
created by other applications. Embedding places a copy of the selected
objects in the destination document. If you use AutoCAD to edit
the OLE object from within the destination document, the object
is not updated in the original drawing.
To embed objects in another
document
-
- In the drawing area, select the objects
that you want to embed and then press ENTER.
The selected objects are copied to the Clipboard.
- Start the destination application, and
open a new or existing document.
- Paste the Clipboard contents into the
document, following the destination application's instructions for
embedding the Clipboard contents.
To link a view to another
document
- Save the drawing that you want to link,
so that it has a drawing name.
- If multiple viewports are displayed,
select a viewport.
- Enter copylink at
the Command prompt.
- Open a new or existing document in the
destination application.
- Paste the Clipboard contents into the
document, following that application's procedures for inserting
linked data.
The inserted OLE object
is displayed in the document and can be edited from AutoCAD through
the destination application.
CommandsCOPYCLIP
Copies selected objects
to the Clipboard.
COPYLINK
Copies the current view
to the Clipboard for linking to other OLE applications.
CUTCLIP
Copies selected objects
to the Clipboard and removes them from the drawing.
INSERTOBJ
Inserts a linked or
embedded object.
OLELINKS
Updates, changes, and
cancels existing OLE links.
System VariablesWMFBKGND
Controls the background
display when objects are inserted in Windows metafile (WMF) format.
WMFFOREGND
Controls the assignment
of the foreground color when objects are inserted in Windows metafile
(WMF) format.